package com.ny.entity;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Integer userId;
    private String username;
    private String password;
    private String nickname;
    private String phone;
    private String email;
    private Boolean isActive;
    private Date createdTime;
    private String role; // 用户角色：ADMIN, USER等
    private String salt; // 盐值，用于密码加密
}